;(function(){
	$.fn.oper_memberCard = function(opts){
		var el = this;
		var opt = {
			keyarg : "[]",
			log_key : "[]",
			dataBack : function(){}
		};
		var param = $.extend(opt,opts);
		var app = new App(el,param);
	}
	
	var App = function(el,param){
		this.el = el;
		this.param = param;
		this.init();
	}
	
	App.prototype = {
			
		init : function(){
			
			var el = this.el;
			var param = this.param;
			var t = this;
			var randomNum = Math.random();
			
			$.ajax({  
				type : 'GET',
				url : "http://127.0.0.1:60050/MembersCard",//?&randomNum="+randomNum  
				dataType : 'jsonp',
				data : {keyarg : param.keyarg,log_key : param.log_key,randomNum:randomNum},
				jsonpCallback : "retu",
				success : function(data){ 
					if(data[0].RETURN==1){
						param.dataBack(data[0]);
					}else {
						jf_alert(data[0].MSG)
					}
				},  
				error : function(data){
					jf_alert(JSON.stringify(data))
				}
			});
		}
	}
	
})(jQuery);